import request from '@/utils/request'

// 查询实施预算-投标-实施-g列表
export function listG(query) {
  return request({
    url: '/bid/g/list',
    method: 'get',
    params: query
  })
}

// 查询实施预算-投标-实施-g详细
export function getG(id) {
  return request({
    url: '/bid/g/' + id,
    method: 'get'
  })
}

// 新增实施预算-投标-实施-g
export function addG(data) {
  return request({
    url: '/bid/g',
    method: 'post',
    data: data
  })
}

// 修改实施预算-投标-实施-g
export function updateG(data) {
  return request({
    url: '/bid/g',
    method: 'put',
    data: data
  })
}

// 删除实施预算-投标-实施-g
export function delG(id) {
  return request({
    url: '/bid/g/' + id,
    method: 'delete'
  })
}
